package baiqitun.stupro.common.workflow.exception;

import baiqitun.stupro.common.exception.StuproException;
import baiqitun.stupro.common.workflow.exception.enums.WorkflowExceptionEnum;

/**
 * 工作流异常（工作流异常不包括XxxNotFoundException）
 * @author kedaji
 */
public class WorkflowException extends StuproException {
    public WorkflowException() {
    }

    public WorkflowException(WorkflowExceptionEnum workflowExceptionEnum) {
        super(workflowExceptionEnum);
    }

    @Override
    public WorkflowException put(String key, Object value) {
        return (WorkflowException)super.put(key, value);
    }

    @Override
    public WorkflowException put(Class<?> clazz, String key, Object value) {
        return (WorkflowException)super.put(key, value);
    }
}
